package com.weishu.mapper;

import java.util.List;
import com.weishu.domain.TCwPayOrderDetail;

/**
 * 收付款支付订单及业务关联Mapper接口
 * 
 * @author ruoyi
 * @date 2023-05-06
 */
public interface TCwPayOrderDetailMapper 
{
    /**
     * 查询收付款支付订单及业务关联
     * 
     * @param id 收付款支付订单及业务关联主键
     * @return 收付款支付订单及业务关联
     */
    public TCwPayOrderDetail selectTCwPayOrderDetailById(Long id);

    /**
     * 查询收付款支付订单及业务关联列表
     * 
     * @param tCwPayOrderDetail 收付款支付订单及业务关联
     * @return 收付款支付订单及业务关联集合
     */
    public List<TCwPayOrderDetail> selectTCwPayOrderDetailList(TCwPayOrderDetail tCwPayOrderDetail);

    /**
     * 新增收付款支付订单及业务关联
     * 
     * @param tCwPayOrderDetail 收付款支付订单及业务关联
     * @return 结果
     */
    public int insertTCwPayOrderDetail(TCwPayOrderDetail tCwPayOrderDetail);

    /**
     * 修改收付款支付订单及业务关联
     * 
     * @param tCwPayOrderDetail 收付款支付订单及业务关联
     * @return 结果
     */
    public int updateTCwPayOrderDetail(TCwPayOrderDetail tCwPayOrderDetail);

    /**
     * 删除收付款支付订单及业务关联
     * 
     * @param id 收付款支付订单及业务关联主键
     * @return 结果
     */
    public int deleteTCwPayOrderDetailById(Long id);

    /**
     * 批量删除收付款支付订单及业务关联
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTCwPayOrderDetailByIds(Long[] ids);
}
